﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace TrackSystem.Entities.Models
{
    /// <summary>
    /// 变量多对多关系管理列表
    /// </summary>    
    [Table("var_group")]

    public class VarAndGroup
    {
        /// <summary>
        /// ID
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        [Display(Name = "统一标识符")]
        public int Id { get; set; }

        /// <summary>
        /// 变量ID
        /// </summary>
        public int varID { get; set; }
        /// <summary>
        /// 变量组ID
        /// </summary>
        public int grpID { get; set; }
    }
}
